/**
 * ProjectName:  mall-service
 * FileName:  DemandService.java
 * PackageName:  com.blx.service
 * Copyright (c) 2013, CYOU All Rights Reserved.
*/
package com.blx.service;

import com.blx.entity.Demand;
import com.blx.utils.pagination.Pagination;

/**
 * ClassName: DemandService. <br/>
 * Description:  Demand接口 <br/>
 * @author wangwl
 * 2013-3-4 下午8:51:59 <br/>
 * @version 1.0
 */
public interface DemandService {
	/**
	 * 保存Demand实体 <br/>
	 * @param demand
	 * @author wangwl
	 * 2013-3-4 下午8:59:29
	 */
	public void saveDemand(Demand demand);

	/**
	 * 更新Demand实体<br/>
	 * @param demand
	 * @author wangwl
	 * 2013-3-4 下午8:59:52
	 */
	public void updateDemand(Demand demand);
	/**
	 * 根据id删除Demand实体 <br/>
	 * @param demandId
	 * @author wangwl
	 * 2013-3-4 下午9:00:14
	 */
	public void deleteDemandById(Integer demandId);
	/**
	 * 根据id获取Demand实体 <br/>
	 * @param demandId
	 * @return
	 * @author wangwl
	 * 2013-3-4 下午9:00:32
	 */
	public Demand getDemand(Integer demandId);
	/**
	 * 分页查询Demand <br/>
	 * @param pageNumber
	 * @param pageSize
	 * @return
	 * @author wangwl
	 * 2013-3-4 下午9:01:23
	 */
	public Pagination<Demand> findPageDemandAll(int pageNumber,int pageSize);
}

